[INFO] cloning repository https://github.com/thanhtong89/arcade-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thanhtong89/arcade-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthanhtong89%2Farcade-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthanhtong89%2Farcade-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7dda96088fc67673eac38d7ef151e9d48d7359ec
[INFO] building thanhtong89/arcade-rs against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthanhtong89%2Farcade-rs" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/thanhtong89/arcade-rs on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/thanhtong89/arcade-rs
[INFO] finished tweaking git repo https://github.com/thanhtong89/arcade-rs
[INFO] tweaked toml for git repo https://github.com/thanhtong89/arcade-rs written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/thanhtong89/arcade-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sdl2_image v0.25.0
[INFO] [stderr]   Downloaded sdl2 v0.25.0
[INFO] [stderr]   Downloaded sdl2-sys v0.25.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 28f5037716340b580aa06738dcdd67b000587ef34a4e273f17640a384e121445
[INFO] running `Command { std: "docker" "start" "-a" "28f5037716340b580aa06738dcdd67b000587ef34a4e273f17640a384e121445", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "28f5037716340b580aa06738dcdd67b000587ef34a4e273f17640a384e121445", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "28f5037716340b580aa06738dcdd67b000587ef34a4e273f17640a384e121445", kill_on_drop: false }`
[INFO] [stdout] 28f5037716340b580aa06738dcdd67b000587ef34a4e273f17640a384e121445
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fcf8ba26f804967ddc0b0eb9fcea3b0bfe7096386076cc59b034770d833ed9f9
[INFO] running `Command { std: "docker" "start" "-a" "fcf8ba26f804967ddc0b0eb9fcea3b0bfe7096386076cc59b034770d833ed9f9", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.1.37
[INFO] [stderr]    Compiling sdl2-sys v0.25.0
[INFO] [stderr]    Compiling libc v0.2.22
[INFO] [stderr]    Compiling bitflags v0.6.0
[INFO] [stderr]    Compiling lazy_static v0.2.8
[INFO] [stderr]    Compiling bitflags v0.7.0
[INFO] [stderr]    Compiling rand v0.3.15
[INFO] [stderr]    Compiling num-integer v0.1.34
[INFO] [stderr]    Compiling num-iter v0.1.33
[INFO] [stderr]    Compiling num v0.1.37
[INFO] [stderr]    Compiling sdl2 v0.25.0
[INFO] [stderr]    Compiling sdl2_image v0.25.0
[INFO] [stderr]    Compiling arcade-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/phi/mod.rs:54:20
[INFO] [stdout]    |
[INFO] [stdout] 54 |     ChangeView(Box<View>),
[INFO] [stdout]    |                    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 54 |     ChangeView(Box<dyn View>),
[INFO] [stdout]    |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/phi/mod.rs:92:30
[INFO] [stdout]    |
[INFO] [stdout] 92 | where F: Fn(&mut Phi) -> Box<View> {
[INFO] [stdout]    |                              ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 92 | where F: Fn(&mut Phi) -> Box<dyn View> {
[INFO] [stdout]    |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `title`
[INFO] [stdout]   --> src/phi/mod.rs:91:17
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub fn spawn<F>(title: &str, init: F)
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_title`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `phi`
[INFO] [stdout]   --> src/views/mod.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn new(phi: &mut Phi) -> ShipView {
[INFO] [stdout]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_phi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ChangeView` is never constructed
[INFO] [stdout]   --> src/phi/mod.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub enum ViewAction {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 54 |     ChangeView(Box<View>),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `contains` is never used
[INFO] [stdout]   --> src/phi/data.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn contains(&self, rect: Rectangle) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `overlaps` is never used
[INFO] [stdout]   --> src/phi/data.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn overlaps(&self, other: Rectangle) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/views/mod.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         phi.renderer.fill_rect(self.player.rect.to_sdl().unwrap());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/tmp/rustc0eZXjB/symbols.o" "/opt/rustwide/target/debug/deps/arcade_rs-f532bd2eadf9dc89.arcade_rs.4e04dc4f-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/arcade_rs-f532bd2eadf9dc89.arcade_rs.4e04dc4f-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/arcade_rs-f532bd2eadf9dc89.arcade_rs.4e04dc4f-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/arcade_rs-f532bd2eadf9dc89.arcade_rs.4e04dc4f-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/arcade_rs-f532bd2eadf9dc89.arcade_rs.4e04dc4f-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/arcade_rs-f532bd2eadf9dc89.arcade_rs.4e04dc4f-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/arcade_rs-f532bd2eadf9dc89.arcade_rs.4e04dc4f-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/arcade_rs-f532bd2eadf9dc89.arcade_rs.4e04dc4f-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/arcade_rs-f532bd2eadf9dc89.arcade_rs.4e04dc4f-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/arcade_rs-f532bd2eadf9dc89.arcade_rs.4e04dc4f-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/arcade_rs-f532bd2eadf9dc89.arcade_rs.4e04dc4f-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/arcade_rs-f532bd2eadf9dc89.arcade_rs.4e04dc4f-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/arcade_rs-f532bd2eadf9dc89.arcade_rs.4e04dc4f-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/arcade_rs-f532bd2eadf9dc89.arcade_rs.4e04dc4f-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/arcade_rs-f532bd2eadf9dc89.arcade_rs.4e04dc4f-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/arcade_rs-f532bd2eadf9dc89.arcade_rs.4e04dc4f-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/arcade_rs-f532bd2eadf9dc89.55b5tpj2pf6km04i.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2_image-d9588f0417c4bdf4.rlib" "/opt/rustwide/target/debug/deps/libbitflags-e0f7dbb2934afe82.rlib" "/opt/rustwide/target/debug/deps/libsdl2-da2bf15b6e2572bd.rlib" "/opt/rustwide/target/debug/deps/librand-61b1522d32e3df73.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-dfeefd636dd6d5cf.rlib" "/opt/rustwide/target/debug/deps/libbitflags-529001c090236096.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-acc223d9a12c450b.rlib" "/opt/rustwide/target/debug/deps/liblibc-c208098c6d5a0c3b.rlib" "/opt/rustwide/target/debug/deps/libnum-70cfd3c1566a2e6e.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-6728a6180e2dd991.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-e772e5af1b896bdd.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-cc2f2b366697568c.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3dd5f78c3b43746e.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e13cbb326bcd01a4.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-13ac6af5403a52c8.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-a7b8febdd2acb289.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-343513f0726f71ed.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-8f833d900bfb98aa.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e97a7960ca6216c8.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-fb8c561e8c8eb24d.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a45121889bb564ec.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-f943c2d34bd4b56d.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-72ce2aaa649404e0.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-ac5d08ad5339e92e.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-dacfda262d5656fb.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e2056a834ba0712c.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a60649c148c6e2db.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-3e961d059b9bcde7.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-20f26f875d0170e2.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-522518611024dce5.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-05898138a596088a.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-5b83a1df856cf582.rlib" "-Wl,-Bdynamic" "-lSDL2_image" "-lSDL2" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/arcade_rs-f532bd2eadf9dc89" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -lSDL2_image
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `arcade-rs` due to 2 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "fcf8ba26f804967ddc0b0eb9fcea3b0bfe7096386076cc59b034770d833ed9f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fcf8ba26f804967ddc0b0eb9fcea3b0bfe7096386076cc59b034770d833ed9f9", kill_on_drop: false }`
[INFO] [stdout] fcf8ba26f804967ddc0b0eb9fcea3b0bfe7096386076cc59b034770d833ed9f9
